package com.dykj.fireFighting.api.fire.contractPayRecord.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class ContractPayRecordDto implements Serializable {


    private static final long serialVersionUID = 1L;

    @TableId
    private String id;
    @TableField("contract_id")
    private String contractId;
    @TableField("pay_money")
    private String payMoney;
    @TableField("pay_time")
    private Date payTime;
    /**
     * 开票时间
     */
    @ApiModelProperty(value = "开票时间")
    @TableField("invoice_time")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date invoiceTime;
    @TableField("invoice_file")
    private String invoiceFile;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("create_time")
    private Date createTime;
    private int isDel;
}
